Usage Note 40911: Do not use reserved words in dimension names when working with external aggregations
Some relational database management systems (RDBMS) have reserved words that can affect how the SQL that is generated by the SAS® OLAP Server is handled. For example, Teradata reserves the word "TIME." If the word "TIME" is used as the dimension name, the SAS OLAP Server generates SQL that is similar to the following:
select distinct Time.Year, Item.Department, sum(FACT.StockOnHand)
from TERADATA.FactTable FACT,
TERADATA.TIMEPERIOD Time,
TERADATA.ITEMS Item
where FACT.Date_Id=Time.DATE_ID and
FACT.Item_Id=Item.Item_Id
group by Time.Year, Item.Department
having count(*) gt 0
|
Because the table reference used the reserved word "TIME," the SQL query does not
pass directly to the RDBMS. Instead, all of the data is returned to SAS for local processing.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS OLAP Server | Microsoft Windows 2000 Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | 9.3 TS1M0 |
z/OS | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
Microsoft Windows NT Workstation | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M0 | 9.3 TS1M0 |
HP-UX IPF | 9.1 TS1M0 | 9.3 TS1M0 |
Linux | 9.1 TS1M0 | 9.3 TS1M0 |
OpenVMS Alpha | 9.1 TS1M0 | 9.3 TS1M0 |
Tru64 UNIX | 9.1 TS1M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | |
Topic: | Query and Reporting ==> OLAP (Online Analytical Processing)
|
Date Modified: | 2010-09-27 16:31:29 |
Date Created: | 2010-09-15 18:09:00 |